{
	template:`
    <m-page @back="back" :title="title">
        <m-top></m-top>
        <m-title>{{title}}</m-title>
		<m-top></m-top>
		<m-list ref="list" :url="url" :params="params" :bottom="0" :search="search">
			<template #item="{item}">
				<m-card join>
                    <div class="flex padding-sm align-center">
                        <div class="flex-sub">
                            <div class="flex align-center">
                                <div class="cu-tag radius" :class="'bg-'+item.order.inputStore.color">{{item.order.inputStore.name}}</div>
                                <div class="flex-sub padding-left-sm">
                                    订单：{{item.order.orderNo}}
                                    <div class="text-sm">{{formatDate(item.order.accountDate,'yyyy-MM-dd HH:mm')}}</div>
                                </div>
                            </div>
                            <div class="flex align-center margin-top-xs">
                                <div class="cu-tag radius" :class="'bg-'+item.recharge.inputStore.color">{{item.recharge.inputStore.name}}</div>
                                <div class="flex-sub padding-left-sm">充值：{{item.recharge.orderNo}}</div>
                            </div>
                        </div>
                        <div class="text-sm text-right">
                            <status type="settleStatus" :value="item.status"></status>
                            <div class="padding-top-xs">付款：<span class="text-df text-red">{{item.order.inputStore.oid==params.inputStoreOid?'+':'-'}}{{formatAmount(item.payAmount)}}</span>元</div>
                            <div>赠送：<span class="text-df text-red">{{item.order.inputStore.oid==params.inputStoreOid?'+':'-'}}{{formatAmount(item.giveAmount)}}</span>元</div>
                        </div>
                    </div>
				</m-card>
			</template>
		</m-list>
    </m-page>
	`,
	props: ['param','parentVue'],
	data:function(){
		return {
            title:'结算明细',
            url:'action/order/rechargeOffset/getSettleList',
            params:{settleOid:'',inputStoreOid:''},
            search:[
                {title:'订单账期',name:'member.inputDate',input:'dateRange'}
            ]
		};
	},
	mounted(){
	    this.params.settleOid=this.param.settleOid;
	    this.params.inputStoreOid=this.param.inputStoreOid;
	},
	methods:{
	}
}